package com.ewo.mapper;

import com.ewo.entity.ApplicationPage.CustomerEquipment;
import com.ewo.entity.ApplicationPage.CustomerSettlement;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerSettlementMapper {

    //根据员工id查找关联已结算工单信息,根据客户id查找客户信息,产品信息
    public List<CustomerSettlement> findCustomerSettlementByEmpId(int empId);

    //根据员工id查找关联已结算工单信息,根据客户id查找客户信息,产品信息,配件信息
    public List<CustomerSettlement>  findAllCustomerSettlementByEmpId(int empId);

    //根据工单id查找当前结算工单信息
    public CustomerSettlement  findOneCustomerSettlementByWid(int empId,int wid);

}
